﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VideoNetApplication.Common;
using VideoNetApplication.Common.CacheManager;
using VideoNetApplication.Common.Helper;

namespace VideoNetApplication.Control
{
    public partial class Bottom : BaseControl
    {
        
        public V_school vSchool;
        protected void Page_Load(object sender, EventArgs e)
        {
           
            InitBottom();

        }
        private  void  InitBottom()
        {

             vSchool = CommonCacheManager.GetCacheData<V_school>("School" + SchoolId);
            if(vSchool!=null)
            {
                ltrSchoolName.Text = vSchool.VS_name;
                ltrSchoolAddr.Text = vSchool.VS_address;
                ltrContact.Text = vSchool.VS_relanname;
                ltrContactPhone.Text = vSchool.VS_relanamephone;
                ltrEmail.Text = vSchool.VS_relanameemail;

            }
        }
    }
}